package com.wmx.main.text05.animal;

import com.wmx.main.text05.Health;
import com.wmx.main.text05.Sleep;

/**
 * @author:wmx 2025-03-29 14:09
 * 功能:狮子
 **/
@Health("差")
@Sleep("健康")

public class Lion extends Animal{

    public Lion(String name, String kind, int hypnotics) {
        super(name, kind, hypnotics);
    }

    @Override
    public void eat() {
        System.out.println(super.getName()+"是"+super.getKind()+"吃饭时:会不停地抬头低头，将食物吞咽下去");
    }

    @Override
    public void sleep() {
        System.out.println(super.getName()+"是"+super.getKind()+"睡觉时:睡觉时通常是单脚站立");
    }
}
